package com.alice.router.mybatis.dao;

import com.alice.mybatis.entity.User;

import java.util.List;

public interface UserDao {
    User findUserById(int id) throws Exception;
    List<User> findUserByUsername(String userName) throws Exception;
    public void insertUser(User user) throws Exception;
    public void insertUser1(User user) throws Exception;

}
